<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>飞腾会-FitaClub</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current bg-light-gray">
      <header class="bar bar-nav fita-header">
        <a href="javascript:history.back(-1);" class="icon icon-left pull-left"></a>
        <a class="icon icon-menu pull-right open-panel"></a>
        <h1 class="title">修改提成率</h1>
      </header>
      <div class="content profile-recruit-content">
        <div class="rule">
          <p class="">您可设置招募到的FITA的提成率（1%~10%），该FITA的所见的价格即为您所见价格的上浮若干百分比。</p>
        </div>
        <div class="range-wrap">
          <span style="font-size: .7rem; font-weight: bold;">设置提成率：</span>
          <span class="iconfont iconfont-minus"></span>
          <input class="single-slider" type="hidden" value="${secondaryAgentId}"/>
          <span class="iconfont iconfont-plus"></span>
        </div>
        <div style="margin: 2rem .5rem 0">
          <button style="margin: 0 auto; width: 100%;" class=" button create-button">确定</button>
        </div>
      </div>
    </div>
    
    <div class="panel-overlay"></div>
    <div class="panel panel-right panel-cover fita-panel">
      <div class="list-block contacts-block no-margin">
        <p class="menu-title close-panel">关闭</p>
	      <ul>
	        <li>
	          <a href="${ctx.host}/cars/search" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">立即租车</div>
	            </div>
	          </a>
	        </li>
	        <li>
	          <a href="${ctx.host}/profile" class="item-content item-link">
	            <div class="item-inner">
	              <div class="item-title">个人中心</div>
	            </div>
	          </a>
	        </li>
	      </ul>
      </div>
    </div>
  </div>
  <!-- <a ctx.host="/order/order-staying-list">保留预定</a>
  <a ctx.host="/order/order-unpaid-list">未支付</a>
  <a ctx.host="/order/order-paid-list">已支付</a>
  <a ctx.host="/order/order-finished-list">已完成</a> -->
  <%@ include file="/WEB-INF/include/script.jsp"%>
  <d:resource type="script" root="${ctx.resource}/build" src="js/page/profile/secondary-agent-commission-rate-edit.js" />
  <script type="text/javascript">
    require(['page/profile/secondary-agent-commission-rate-edit'], function(page) {
      page.init({
        secondaryAgentId: '${secondaryAgentId}'
      })
    })
  </script>
 
</body>
</html>